#include<iostream>
#include<cstdlib>
#include<cstdio>
#include<ctime>
using namespace std;
const int N=100000;
const int MOD=1009;

int main()
{
	freopen("input.txt","w+",stdout);
	int i;	
	srand(unsigned(time(NULL)));	
	double x,y;	
	for(i=0;i<N;i++)
	{		
		printf("1");
		printf(" %d 2 ",i+1);
		x=rand()%MOD;
		y=rand()%MOD;
		while(y==0)
			y=rand()%MOD;
		x=x/y*100;
		printf("%lf ",x);
		x=rand()%MOD;
		y=rand()%MOD;
		while(y==0)
			y=rand()%MOD;
		x=x/y*100;
		printf("%lf\n",x);
	}
	return 0;
}
